<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <link rel="stylesheet" type="text/css" media="all" href="/static/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/static/css/common.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/static/js/jquery.min.js"/>
</head>
<body>
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>编辑Case</legend>
    </fieldset>
    <div class="layui-col-md-offset10">
        <a href="/index" style="margin-top:10px;" target="_blank" class="layui-btn layui-btn-warm">返回</a>
    </div>
    <div class="layui-container">

        <div class="layui-row">
            <div class="layui-col-xs6">
                <form id="caseform" class="layui-form layui-form-pane" action="Update" method="GET">
                {% for i in OneCase  %}

                    <div class="layui-form-item">
                        <label class="layui-form-label">ID</label>
                        <div class="layui-input-inline">
                            <input style="height: 38px;" type="text" name="id" value={{ i.id }} readonly="readonly" autocomplete="off" class="layui-input layui-badge" />
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">创建时间</label>
                        <div class="layui-input-inline">
                            <input   value= {{ i.CreateTime }} readonly="readonly"   class="layui-input ">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">文件名</label>
                        <div class="layui-input-inline">

                            <input   type="text" value= {{ i.FileName }} readonly="readonly"   class="layui-input ">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">上传人</label>
                        <div class="layui-input-inline">
                            <input type="text" name="PersonName"readonly="readonly" class="layui-input" value={{ i.PersonName }} >
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">是否启用</label>
                         <div class="layui-input-inline">
                             <select name="Status" >
                                 <option value={{i.Status }}>{{ i.Status }}</option>
                                 <option value="启用">启用</option>
                                 <option value="不启用">不启用</option>
                             </select>
                         </div>
                    </div>

                    <div class="layui-form-item">
                          <label class="layui-form-label">项目选择:</label>
                                 <div class="layui-input-inline">
                                        <select name="ProjectName">
                                            <option value={{i.ProjectName }}>{{ i.ProjectName }}</option>
                                            <option value="财务工作台">财务工作台</option>
                                            <option value="业务工作台">业务工作台</option>
                                            <option value="近近">近近</option>
                                        </select>
                                 </div>
                     </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">脚本说明</label>
                        <div class="layui-input-inline">
                            <input type="text" style="width: 500px"  name="FileContext" autocomplete="off" class="layui-input" value={{ i.FileContext }} />
                        </div>
                    </div>
                    <button type="submit" class="layui-btn" lay-filter="add" id="add" lay-submit="">提交</button>

                </form>
            </div>
                {% endfor %}

            </div>
        </div>
    </div>



    <div class="fly-footer" style="margin-right: auto; margin-left: auto; width: 200px;">
        <p><a href="#" target="_blank">我打 - 测试部</a> 2018</p>
    </div>
    <script type="text/javascript" src="/static/layui/layui.all.js"></script>
    <script type="text/javascript" src="/static/js/jquery.min.js"></script>


</body>



</html>